﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Statistics.aspx.cs" Inherits="Statistics" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style3
        {
            width: 143px;
        }
        .style4
        {
            height: 26px;
        }
        .style5
        {
            height: 26px;
        }
        .style9
        {
            height: 46px;
        }
        .style10
        {
            height: 46px;
        }
        .style14
        {
            height: 46px;
            width: 282px;
        }
        .style15
        {
            width: 282px;
        }
        .style17
        {
            height: 26px;
            width: 143px;
        }
        .style18
        {
            height: 46px;
            width: 297px;
        }
        .style19
        {
            width: 297px;
        }
        
    .style20
    {
        height: 21px;
    }
    .style21
    {
    }
    .style23
    {
        height: 22px;
    }
        
        .style24
        {
            height: 36px;
        }
        .style25
        {
            height: 128px;
        }
        
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:ScriptManager ID="scmStatistics" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="updpnStatistics" runat="server">
        <ContentTemplate>
            <div>
                <table style="border-style: inset; width: 100%; height: 108px; margin-bottom: 0px;">
                    <tr>
                        <td class="style4" colspan="4">
                            <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Size="18pt" 
                                Text="Information"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style17">
                            <asp:Label ID="lblObjectStatistic" runat="server" Text="Object Statistic:"></asp:Label>
                        </td>
                        <td class="style4" colspan="3">
                            <asp:DropDownList ID="ddlObjectStatistic" runat="server" AutoPostBack="True" 
                                Height="16px" onselectedindexchanged="ddlObjectStatistic_SelectedIndexChanged" 
                                style="margin-left: 0px" Width="263px">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem>Revenue of Movie</asp:ListItem>
                                <asp:ListItem>Feedback</asp:ListItem>
                                <asp:ListItem>Total revenue</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label ID="lblMovie" runat="server" Text="Movie:" Visible="False"></asp:Label>
                            <asp:DropDownList ID="ddlMovie" runat="server" AutoPostBack="True" 
                                Height="16px" style="margin-left: 29px" Visible="False" Width="222px" 
                                onselectedindexchanged="ddlMovie_SelectedIndexChanged">
                                <asp:ListItem></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style17">
                            <asp:Label ID="lblDate2" runat="server" Text="Date:"></asp:Label>
                        </td>
                        <td class="style5" colspan="3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style9">
                            &nbsp;</td>
                        <td class="style14">
                            <asp:Label ID="lblStart" runat="server" Text="Start date:"></asp:Label>
                            <asp:TextBox ID="txtSart" runat="server" Width="151px">0000-00-00</asp:TextBox>
                            <asp:Button ID="btnS1" runat="server" BorderStyle="None" Font-Bold="True" 
                                onclick="btnS1_Click" Text="V" Width="19px" />
                            <asp:Calendar ID="cldSart" runat="server" BackColor="White" 
                                BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
                                Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="16px" 
                                onselectionchanged="cldSart_SelectionChanged" Visible="False" Width="245px">
                                <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                                <NextPrevStyle VerticalAlign="Bottom" />
                                <OtherMonthDayStyle ForeColor="#808080" />
                                <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                                <SelectorStyle BackColor="#CCCCCC" />
                                <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                                <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                                <WeekendDayStyle BackColor="#FFFFCC" />
                            </asp:Calendar>
                        </td>
                        <td class="style18">
                            <asp:Label ID="lblEndDate" runat="server" Text="End date:"></asp:Label>
                            <asp:TextBox ID="txtEndDate" runat="server" Width="150px">0000-00-00</asp:TextBox>
                            <asp:Button ID="btnS2" runat="server" BorderStyle="None" Font-Bold="True" 
                                onclick="btnS2_Click" Text="V" />
                            <asp:Calendar ID="cldEnd" runat="server" BackColor="White" 
                                BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
                                Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="32px" 
                                onselectionchanged="cldEnd_SelectionChanged" style="margin-left: 12px" 
                                Visible="False" Width="244px">
                                <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                                <NextPrevStyle VerticalAlign="Bottom" />
                                <OtherMonthDayStyle ForeColor="#808080" />
                                <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                                <SelectorStyle BackColor="#CCCCCC" />
                                <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                                <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                                <WeekendDayStyle BackColor="#FFFFCC" />
                            </asp:Calendar>
                        </td>
                        <td class="style10">
                            <asp:Label ID="lblTime" runat="server" Text="Time:" Visible="False"></asp:Label>
                            <asp:DropDownList ID="ddlTime" runat="server" Height="16px" Visible="False" 
                                Width="141px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style23" colspan="4">
                            <asp:Label ID="lblError" runat="server" ForeColor="Red" Text="Label" 
                                Visible="False"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            &nbsp;</td>
                        <td class="style15">
                            &nbsp;</td>
                        <td class="style19">
                            <asp:Button ID="btnShow" runat="server" BorderStyle="None" Text="Show" 
                                onclick="btnShow_Click" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
<br />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table style="border-style: solid; width: 98%;">
            <tr>
                <td class="style24" colspan="2">
                    <asp:Label ID="lblTitle3" runat="server" Text="Information" Font-Bold="True" 
                        Font-Size="18pt"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style21" colspan="2">
                    <asp:Label ID="lblTitle4" runat="server" Text="Label" Visible="False" 
                        Font-Size="12pt"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2" class="style25">
                    <asp:GridView ID="grvShow1" runat="server" style="margin-top: 3px" 
                        Visible="False" Width="906px">
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td class="style20">
                    <asp:Label ID="lblShow1" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                <td class="style20">
                    <asp:Label ID="lblShow2" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style20">
                    </td>
                <td class="style20">
                    </td>
            </tr>
            <tr>
                <td class="style21" colspan="2">
                    <asp:Label ID="lblTitle5" runat="server" Text="Label" Visible="False" 
                        Font-Size="12pt"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:GridView ID="grvShow2" runat="server" Visible="False" Width="903px">
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTitle6" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblShow5" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTitle7" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblShow6" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTitle8" runat="server" Text="Label" Visible="False" 
                        Font-Size="12pt"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:GridView ID="grvShow3" runat="server" Visible="False" Width="906px">
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTitle9" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblShow7" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTitle10" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblShow8" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
</asp:Content>

